UNPKG
@thunderstorefront/api-mock
Version:
latest (0.3.1)
0.3.1
0.3.0
0.2.2
0.2.1
0.2.0
0.1.0
0.0.4
0.0.3
0.0.2
0.0.1
Create Nuxt extendable layer with this GitHub template.
@thunderstorefront/api-mock
/
server
/
api
/
country
/
[id].get.ts
4 lines
(2 loc)
•
100 B
text/typescript
View Raw
1
2
3
4
import
{ mockCountry }
from
'../../mocks'
;
export
default
defineEventHandler
(
() =>
mockCountry
());